#define _CRT_SECURE_NO_WARNINGS
#include "MySort.h"
#include <stdio.h>
#include <stdlib.h>

void PrintArray(int* a, int n)
{
	for (int i = 0; i < n;i++)
	{
		printf("%d ", a[i]);
	}
	printf("\n");
}

int main()
{
	int a[] = { 10,20,9,0,3,5,1,17,10,12,11 };
	//InsertSort(a, sizeof(a) / sizeof(int));
	//ShellSort(a, sizeof(a) / sizeof(int));
	/*HeapSort(a, sizeof(a) / sizeof(int));*/
	/*SelectSort(a, sizeof(a) / sizeof(int));*/
	/*BubbleSort(a, sizeof(a) / sizeof(int));*/
	/*QuickSortNonR(a,sizeof(a) / sizeof(int));*/
	CountSort(a, sizeof(a) / sizeof(int));
	PrintArray(a, sizeof(a) / sizeof(int));

}